﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Ccit.Utils;
using Ccit.OA.MsSystemDoc;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Ccit.OA.SystemDoc
{
    public partial class SystemDoc_docmanage_frame : Ccit.Utils.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.Page.IsPostBack)
            {
                lkAdd.Attributes.Add("onclick", "return doAddNewFolder()");
                lkA2.Attributes.Add("onclick", "return doCode();");
                lkA3.Attributes.Add("onclick", "return doShear();");
                lkDel.Attributes.Add("onclick", "return doBatDelete();");
                lkClassCodetree.Attributes.Add("onclick", "return DoNodeTab('1')");

                lbZT.Attributes.Add("onclick", "return doSave();");
                lkClassNametree.Attributes.Add("onclick", "return doFolder('0');");
                lkSearch.Attributes.Add("onclick", "return doSearch();");


                Inpage();
            }
        }

        public void Inpage()
        {
            hidClassType.Value = (null != Request.QueryString["classType"]) ? Request.QueryString["classType"].ToString() : "";
        }
    }
}
